package cn.exrick.xboot.modules.gatestation.entity;

import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.transaction.annotation.Transactional;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;


/**
 * @author yck
 */
@Data
@Entity
@Table(name = "naturalgas_gate_station")
@TableName("naturalgas_gate_station")
@ApiModel(value = "澶╃噧姘旈棬绔�")
public class NaturalgasGateStation extends XbootBaseEntity {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "站点名称")
    private String gateName;
    @ApiModelProperty(value = "站点类型")
    private String gateType;
    @ApiModelProperty(value = "站点状态")
    private String gateState;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;
    @ApiModelProperty(value = "站点类型名称")
    @Transient
    private String gateTypeName;

}